<?php
$name = "David Beard";
$para = "I'm $name and I am an IT student at FSU.   I like going to the movies, Exercising, and playing Water Basketball...Here are my Credentials!";

$array = array();
$array['Classes'] = array('LIS4368' => 'WEB DEV WITH PHP','LIS3784' => 'INFO ORG AND COMM','ENT3003' => 'INTRO ENTREPRENEUR','ECO2023' => 'PRIN OF MICROECON');
$array['Jobs'] = array('Dietz Consulting' => 'Web Development','CBBA' => 'Instructor');
$array['Skills'] = array('HTML','CSS','JAVA');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><?php echo $name ?></title>
        <style type="text/css">
         table {
                 border: 1px solid #000;
                 margin: 1px auto;
               }

         table td {
                  border: 1px solid #777;
                  padding: 5px;
                  }
        </style>
    </head>
    <body>
        <h1>Hello World</h1>
        <?php echo $para;?>
		

<table>
<thead>
        <tr>
                <th>Classes</th>
        </tr>
</thead>
<tbody>

<?php
        foreach($array['Classes'] as $Class => $Cname)
        {
           echo "<tr><td>";
            echo $Class;
            echo "</td>";
            echo "<td>" . $Cname . "</td></tr>";
          
        }
?>
</tbody>
</table>

<br />

<table>
    <thead>
        <tr>
                <th>Jobs</th>
        </tr>
</thead>
<tbody>
<?php
        foreach($array['Jobs'] as $Company => $pos)
        {
           echo "<tr><td>";
            echo $Company;
            echo "</td>";
            echo "<td>" . $pos . "</td></tr>";

        }
 
?>

</table>
<br />

<table>
    <thead>
        <tr>
                <th>Skills</th>
        </tr>
</thead>
<tbody>
<?php
        foreach($array['Skills'] as $Skills)
        {
           echo "<tr><td>";
            echo $Skills;
            echo "</td></tr>";

        }
?>
</table>



    </body>
</html>
